<script type="text/javascript" src="{{ asset('js/development-bundle/ui/jquery.effects.pulsate.js') }}"></script>
{% if app.session.hasFlash('notice') %}
     <div id="notificate" class=" ui-widget">
        <div  class="ui-state-highlight ui-corner-all"> 
		<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-info"></span>
                <strong>Hey!</strong>{{ app.session.flash('notice') }}</p>
        </div>          
    </div>
 {% endif %}
                        
{% if app.session.hasFlash('error') %}
    <div id="notificate" class=" ui-widget">
        <div  class="ui-state-error ui-corner-all"> 
            <p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span> 
                <strong>Alert:</strong>{{ app.session.flash('error') }}</p>
        </div>          
    </div>
{% endif %}

 <script type="text/javascript">
 $(function(){
   $( "#notificate" ).show( 'pulsate', {}, 500);  
 })

</script>